package org.flint92.springboot.mybatis.domain;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.StringJoiner;

/**
 * @author flint92
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class Address {

    private String province;

    private String city;

    @Override
    public String toString() {
        return new StringJoiner(", ", Address.class.getSimpleName() + "[", "]")
                .add("province='" + province + "'")
                .add("city='" + city + "'")
                .toString();
    }
}
